services.wordpress.sites.<name>.extraConfig
Any additional text to be appended to the wp-config.php configuration file. This is a PHP script. For configuration settings, see https://codex.wordpress.org/Editing_wp-config.php.
Note: Please pass structured settings via
services.wordpress.sites.‹name›.settings instead.
- Type
strings concatenated with "\n"- Default
""- Example
'' @ini_set( 'log_errors', 'Off' ); @ini_set( 'display_errors', 'On' ); ''- Declared
- <nixpkgs/nixos/modules/services/web-apps/wordpress.nix>